.class public final Lnbisdk/kf;
.super Lnbisdk/ia;


# instance fields
.field private bT:Lcom/nbi/location/LocationListener;


# direct methods
.method public constructor <init>(Lcom/nbi/common/NBIContext;Lcom/nbi/location/LocationListener;)V
    .locals 1

    invoke-direct {p0, p1, p2}, Lnbisdk/ia;-><init>(Lcom/nbi/common/NBIContext;Lcom/nbi/location/LocationListener;)V

    new-instance v0, Lnbisdk/mk;

    invoke-direct {v0, p0}, Lnbisdk/mk;-><init>(Lnbisdk/kf;)V

    iput-object v0, p0, Lnbisdk/kf;->bT:Lcom/nbi/location/LocationListener;

    return-void
.end method

.method private aU()Z
    .locals 3

    const/4 v2, 0x0

    :try_start_0
    iget-object v0, p0, Lnbisdk/kf;->ca:Lcom/nbi/common/NBIContext;

    iget-object v1, p0, Lnbisdk/kf;->bT:Lcom/nbi/location/LocationListener;

    invoke-static {v0, v1}, Lnbisdk/bd;->b(Lcom/nbi/common/NBIContext;Lcom/nbi/location/LocationListener;)Lnbisdk/or;

    move-result-object v0

    iput-object v0, p0, Lnbisdk/kf;->so:Lnbisdk/or;

    iget-object v0, p0, Lnbisdk/kf;->so:Lnbisdk/or;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    if-nez v0, :cond_0

    move v0, v2

    :goto_0
    return v0

    :catch_0
    move-exception v0

    move v0, v2

    goto :goto_0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method


# virtual methods
.method public final aS()Z
    .locals 2

    const/4 v1, 0x1

    invoke-direct {p0}, Lnbisdk/kf;->aU()Z

    move-result v0

    if-eq v0, v1, :cond_0

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lnbisdk/kf;->so:Lnbisdk/or;

    invoke-interface {v0}, Lnbisdk/or;->bl()Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lnbisdk/kf;->el:Lcom/nbi/location/LocationListener;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lnbisdk/kf;->so:Lnbisdk/or;

    const/16 v1, 0x2346

    invoke-interface {v0, v1}, Lnbisdk/or;->onLocationError(I)V

    :cond_1
    const/4 v0, 0x0

    goto :goto_0

    :cond_2
    move v0, v1

    goto :goto_0
.end method
